Skip to content

Flood Crew: rebuild the start, the look and the feel - #328

Merged
ngcoding10 merged 3 commits into
ASCoding11:mainfrom
ngcoding10:flood-fix
Nov 26, 2026
Merged

ngcoding10 merged 3 commits into
ASCoding11:mainfrom
ngcoding10:flood-fix

Conversation

@ngcoding10

Copy link
Copy Markdown
Collaborator
  • Rebuilds Flood Crew (e63334287a3deaa3/ebbwork/) after it was played on the live site and found confusing and ugly. Before/after screenshots of the first minute are on the fork branch flood-fix-shots under work/flood-fix-shots/.
  • The start: Play now puts a new player straight into the flooded yard holding the rake, with one short instruction at a time at the bottom of the screen. The depot, job board, shop and van are gone from the start: the board appears after the first job, the gear bench after the second, the van only when you own more tools than it holds. In a job the screen has a crosshair, one water bar, your tool and one line of words.
  • The look: houses with roofs, windows and doors, fences, hedges, trees and garden things in place of boxes; a low warm sun with shadows; a sky; water that is brown by depth, has a moving shoreline and mirrors the site; gloved hands holding real tools. The first yard now starts knee deep, with things half under water. New card picture and phone thumbnail.
  • The feel: every rake stroke splashes and throws leaves, a cleared drain gulps and pulls a whirlpool, the leak dies away as the tap shuts, and the ground comes up clean as the water drops.
  • Shorter jobs: the two long jobs take the test bot about 6 and 7 minutes instead of 10 and 15; a thin skin of water no longer counts as flood; raked leaves stay put for 45 seconds.
  • Pages and files changed: the game's folder (new models.js; game.js, core.js, index.html, es.js and preview.jpg changed), e63334287a3deaa3/index.html and e63334287a3deaa3/es.js (only the card picture's description), e63334287a3deaa3/m/thumbs/ebbwork.jpg, README.md (the game's section), .claude/agents/flood-crew.md, and a What's new file e63334287a3deaa3/news/ngcoding10-flood-fix.json.
  • One edit to a published What's new entry: e63334287a3deaa3/news.js, games: ['Flood Crew'] → ['Flood Crew:ebbwork']. Without it the "New games!" chip asks for a thumbnail that does not exist (a 404 on the Back Room and phone pages today).

Not tested

  • No real phone or laptop. Everything was run in a test browser with an emulated graphics card.
  • Frame rate. In that test browser the rebuild runs at about half the speed of the current version at phone size (about 21 against 40 frames a second), with 28 draw calls and 32,000 triangles a frame against 24 and 8,000. On Auto the game now turns the water's mirror picture off by itself when frames stay low, so slow phones get plainer water than the screenshots show.
  • Sound, including the new ones, has never been heard.
  • Mouse look was not verified; touch look was.
  • No job has been played by hand. The first job was played by a script using real taps; all six still finish by bot (first job about 2:30).
  • The new balance (what counts as flood, digging, how long raked leaves stay put) is untried by a person. Raked leaves sink out of sight in knee-deep water.
  • Removed on purpose: the rake's pull on right click, and the Duck button on touch.

Data and risk

  • Saves stay in localStorage ebbwork:v1 with the same fields plus one new one (seen); existing saves load. Players who already finished the first job go to the depot as before and keep the gear bench. Phones no longer render below a pixel ratio of 1.
  • No Firebase, ads, analytics, account, workflow, robots, sitemap or redirect changes. No new outside scripts.

Generated by Claude Code

The owner played the first version and found the start confusing and the
game ugly. This rebuilds it:

- Play puts a new player straight into the flooded yard holding the rake,
  with one short instruction at a time. The depot, shop and van turn up
  later, one at a time. The HUD is one water bar, the tool and one line.
- New look: houses with roofs, windows and doors, fences, hedges, trees,
  a van, low warm sun with shadows, a sky, and water that mirrors the
  site on every graphics setting. Real hands and tools in view.
- Every action reacts: splashes and rings, a gulp and whirlpool when a
  drain lets go, the leak dying away as the tap shuts, clean ground
  appearing as the level drops.
- The two long jobs are much shorter; a thin skin of water no longer
  counts; raked leaves stay put for a while.
- Also fixes the New games thumbnail for Flood Crew, which pointed at a
  picture that does not exist.

Saves (ebbwork:v1), the folder, touch controls and Spanish are kept.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7oof2mCeBWM93T7t4
…keep their depot

- The first yard now starts shin to knee deep (half a metre at the
  drain), with things half under and floating, a stronger water colour
  and a brighter shoreline, so it plainly is a flood.
- Phones never draw below a pixel ratio of 1.
- A save from before the new start still finds its gear bench open.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7oof2mCeBWM93T7t4
…he mirror pass

- README keeps main's new Leaf Sweep text and the rebuilt Flood Crew
  section. news.js differs from main only by the one-line thumbnail fix.
- The gloves are rounded fists instead of stacked boxes.
- On Auto, a phone that stays under about 27 frames a second for nine
  seconds turns the water's mirror picture off for the visit.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7oof2mCeBWM93T7t4
@netlify

netlify Bot commented Nov 26, 2026

Copy link
Copy Markdown

👷 Deploy request for ascoding11 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 514c55d

@netlify

netlify Bot commented Nov 26, 2026

Copy link
Copy Markdown

👷 Deploy request for cosmic-dasik-e73c56 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 514c55d

@ngcoding10
ngcoding10 merged commit 388013c into ASCoding11:main Nov 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants